﻿using System;

public partial class Pages_Popup : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {

        if (Session.Count <= 0)
        {
            HiddenField1.Value = "1";
            return;
        }
        try
        {
            PlaceHolder1.Controls.Add(LoadControl(Session[Business.SessionManager.SessionControl].ToString()));
            Literal1.Text = string.Empty;
        }
        catch (Exception ex)
        {
            Literal1.Text = ex.Message;

        }
    }
}
